import request from '@/utils/request'

/**
 * @description 获取订单列表
 */
export function orderLists(params: any) {
    return request.post({ url: '/supervise/order/repair/list', params })
}

/**
 * @description 获取订单详情
 */
export function orderDetail(params: any) {
    return request.get({ url: '/supervise/order/repair/detail', params })
}

/**
 * @description 文件列表
 */
export function files(params: any) {
    return request.get({ url: '/supervise/order/repair/files', params })
}

/**
 * @description 文件列表
 */
export function upload(params: any) {
    return request.post({ url: '/supervise/order/repair/upload', params })
}